Allow setting the accessible role at construction
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 13 Jul 2020 14:20:19 +0000 (15:20 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 26 Jul 2020 19:31:15 +0000 (20:31 +0100)
commit572861be27e54a5a56257fdef6a4824a766e3cc0
tree0d0c3a24e295eae94186e10669a5ca8a7f439335
parent5a173df3da13c383179c3c193496b87d8019b061
Allow setting the accessible role at construction

Some widgets have different accessible roles depending on some
parameter, so we cannot set the role at class init time. For those
widgets, we add an "accessible-role" property to GtkAccessible, and we
allow setting it (only) at construction time.
gtk/gtkaccessible.c
gtk/gtkaccessible.h
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwidgetprivate.h